package com.yymagicer.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * <p>Description: some description </p>
 *
 * @author : xiaodong.yang
 * @date : 2023/12/22 16:35
 */
@TableName("t_work")
@Data
public class WorkEntity {

    @TableId
    private Integer id;

    private String name;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
